home *** CD-ROM | disk | FTP | other *** search
/ Young Minds / Young Minds Interactive CD-ROM.ISO / crystal / cvorcs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-01-12  |  791 b   |  38 lines

  1. /* cvorcs.h
  2.  *        define the monster array
  3.  ***********************************************************************/
  4.  
  5. struct monster {
  6.     int iloc, dw, dseen ;    
  7.     struct cvloc *dloc, *oloc;
  8.     } ;
  9.  
  10. extern struct monster orcs[] ;
  11.  
  12. #define    ORC(o)    (&(orcs[(o)]))
  13. #define    IGRENDL    0
  14. #define    GRENDL    ORC(IGRENDL)
  15. #define    IDRAGON    1
  16. #define    PUFF    ORC(IDRAGON)
  17. #define    IKING    2
  18. #define    ARTHUR    ORC(IKING)
  19. #define    IDJINN    3
  20. #define    JEANNIE    ORC(IDJINN)
  21. #define    IKOBOLD    4
  22. #define    SLASHER    ORC(IKOBOLD)
  23. #define    IBEAR    5
  24. #define    YOGI    ORC(IBEAR)
  25. #define    IUNICRN    6
  26. #define    EINHORN    ORC(IUNICRN)
  27. #define    IPRIEST    7
  28. #define PRIEST    ORC(IPRIEST)
  29. #define    IBALROG    8
  30. #define    BALLY    ORC(IBALROG)
  31. #define    MINDWR    ORC(9)
  32. #define    MAXDWR    ORC(14)
  33. #define    IPIRAT    15
  34. #define    PIRATE    (&(orcs[IPIRAT]))
  35. #define    ISELF    16
  36. #define    ME    ORC(ISELF)
  37.  
  38.